package com.company.project.pojo.contradiction;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 矛盾
 * </p>
 *
 * @author 任建波
 * @since 2019-08-09
 */
@ApiModel(description="矛盾资料")
@TableName("contradiction")
public class Contradiction implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value="标题", required=true)
    private String title;

    @ApiModelProperty(value="录入人id")
    private Integer inputUserId;

    @ApiModelProperty(value="录入单位id")
    private Integer inputInstitutionId;
    @ApiModelProperty(value="村庄id", required=true)
    private Integer villageId;
    /**
     * 录入时间
     */
    private Date inputTime;

    @ApiModelProperty(value="图片地址，多个以@@隔开", required=false)
    private String imgUrl;
    @ApiModelProperty(value="视频地址，多个以@@隔开", required=false)
    private String videoUrl;
    @ApiModelProperty(value="音频地址，多个以@@隔开", required=false)
    private String audioUrl;
    @ApiModelProperty(value="文件地址，多个以@@隔开", required=false)
    private String fileUrl;

    /**
     * 描述
     */
    private String description;

    /**
     * 状态
     */
    private Integer status;

    private Integer solveUserId;
    private Date solveTime;


    public Integer getSolveUserId() {
        return solveUserId;
    }

    public void setSolveUserId(Integer solveUserId) {
        this.solveUserId = solveUserId;
    }

    public Date getSolveTime() {
        return solveTime;
    }

    public void setSolveTime(Date solveTime) {
        this.solveTime = solveTime;
    }

    public Integer getInputInstitutionId() {
        return inputInstitutionId;
    }

    public void setInputInstitutionId(Integer inputInstitutionId) {
        this.inputInstitutionId = inputInstitutionId;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public Integer getVillageId() {
        return villageId;
    }

    public void setVillageId(Integer villageId) {
        this.villageId = villageId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getInputUserId() {
        return inputUserId;
    }

    public void setInputUserId(Integer inputUserId) {
        this.inputUserId = inputUserId;
    }

    public Date getInputTime() {
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getAudioUrl() {
        return audioUrl;
    }

    public void setAudioUrl(String audioUrl) {
        this.audioUrl = audioUrl;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Contradiction{" +
        "id=" + id +
        ", title=" + title +
        ", inputUserId=" + inputUserId +
        ", inputTime=" + inputTime +
        ", imgUrl=" + imgUrl +
        ", audioUrl=" + audioUrl +
        ", fileUrl=" + fileUrl +
        ", describe=" + description +
        ", status=" + status +
        "}";
    }
}
